<?php
/**
 * @TABLE "content_counter"
 * @JOIN_FROM "category_id < category.id"
 * @JOIN_FROM "content_id < content.id"
 */
class BaseContentCounter extends Abstract_PluginEntityManager_Entity
{
	/**
	 * @PRIMARY
	 * @COLUMN "id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @AUTO_INCREMENT
	 */
	public $id;

	/**
	 * @COLUMN "content_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 */
	public $content_id;

	/**
	 * @COLUMN "category_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 */
	public $category_id;

	/**
	 * @COLUMN "comment"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $comment;

	/**
	 * @COLUMN "like"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $like;

	/**
	 * @COLUMN "view"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $view;
}
?>